const wechat = {
  path: '/wechat',
  meta: { title: '微信管理' },
  component: () => import('@/apps/admin/Layout/Layout.vue'),
  children: [
    {
      path: 'wx',
      meta: {
        title: '公众号',
        icon: 'face',
        open: true
      },
      component: () => import('@/layout/Empty.vue'),
      children: [
        { path: 'material', name: 'WxMaterial', meta: { title: '素材管理', icon: 'perm_media' }, component: () => import('@/apps/admin/views/wechat/wx/Material.vue') },
        { path: 'member', name: 'WxMember', meta: { title: '微信用户', icon: 'people' }, component: () => import('@/apps/admin/views/wechat/wx/Member.vue') },
        { path: 'broadcasting', name: 'WxBroadcasting', meta: { title: '群发消息' }, component: () => import('@/apps/admin/views/wechat/wx/BroadCasting.vue') },
        { path: 'template_message', name: 'WxTemplateMessage', meta: { title: '模版消息' }, component: () => import('@/apps/admin/views/wechat/wx/TemplateMessage.vue') },
        { path: 'customer_service', name: 'WxCustomerService', meta: { title: '客服' }, component: () => import('@/apps/admin/views/wechat/wx/CustomerService.vue') },
        { path: 'data_cute', name: 'WxDataCute', meta: { title: '数据统计/分析' }, component: () => import('@/apps/admin/views/wechat/wx/DataCute.vue') },
        { path: 'menu', name: 'WxMenu', meta: { title: '菜单管理', icon: 'power_input' }, component: () => import('@/apps/admin/views/wechat/wx/Menu.vue') },
        { path: 'auto_reply', name: 'WxAutoReply', meta: { title: '自动回复' }, component: () => import('@/apps/admin/views/wechat/wx/AutoReply.vue') },
        { path: 'settings', name: 'WxSettings', meta: { title: '参数设置' }, component: () => import('@/apps/admin/views/wechat/wx/Settings.vue') }
      ]
    },
    {
      path: '/miniprogram',
      meta: {
        title: '小程序',
        icon: 'stay_current_portrait',
        open: true
      },
      component: () => import('@/layout/Empty.vue'),
      children: [
        { path: 'menu', name: 'MiniProgramMenu', meta: { title: '自定义菜单', icon: 'power_input' }, component: () => import('@/apps/admin/views/wechat/wx/Menu.vue') },
        { path: 'member', name: 'MiniProgramMember', meta: { title: '微信用户', icon: 'people' }, component: () => import('@/apps/admin/views/wechat/wx/Member.vue') }
      ]
    },
    {
      path: '/wechat/payment',
      meta: {
        title: '微信支付',
        icon: 'payment'
      },
      name: 'Payment',
      component: () => import('@/apps/admin/views/wechat/payment/Index.vue')
    },
    {
      path: '/wechat/settings',
      meta: {
        title: '参数设置',
        icon: 'settings'
      },
      name: 'WechatSettings',
      component: () => import('@/apps/admin/views/wechat/Settings.vue')
    }
  ]
}
export default wechat
